//
//  CommandLine.h
//  DevSpoof
//
//  Created by huang on 2018/11/5.
//  Copyright © 2018年 wdys. All rights reserved.
//

#import <Foundation/Foundation.h>

@interface CommandLine : NSObject
{
    NSPipe *_output;
}
@property (nonatomic, strong)NSPipe *output;
@property (nonatomic, readonly)CommandLine* (^pipe)(NSString *path,id argvs);
+ (instancetype)command:(NSString *)path argvs:(id)argvs;
- (NSString *)read;
@end

